]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
build: Add mutter's private directory to libst's build-time RPATH
authorIain Lane <iainl@gnome.org>
Wed, 6 Mar 2019 12:33:33 +0000 (12:33 +0000)
committerIain Lane <iainl@gnome.org>
Wed, 6 Mar 2019 12:45:48 +0000 (12:45 +0000)
We need this to run `test-theme`, otherwise when run as part of the
build tests it fails like:

  error while loading shared libraries: libmutter-cogl-4.so.0: cannot
  open shared object file: No such file or directory

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/442

src/st/meson.build

index 38ae5c7220be6a7eb4d730cc3781f74f86d6b3b2..444ed4901b175b5e39bcb42821cf6970c3a26587 100644 (file)
@@ -126,6 +126,7 @@ libst = shared_library('st-1.0',
   sources: st_gir_sources + st_non_gir_sources,
   c_args: st_cflags,
   dependencies: [clutter_dep, gtk_dep, croco_dep, x11_dep, m_dep],
+  build_rpath: mutter_typelibdir,
   install_rpath: mutter_typelibdir,
   install_dir: pkglibdir,
   install: true